<extend name="Public:index" />
<block name="main-crumb">
  <li class="active">菜单编辑</li>
</block>
<block name="main-content">
  <div class="container-fluid">
    <div class="row">
      <div class="col-12">
        <div class="card">
          <div class="card-body">
            <form action="__APP__/web/menu/edit" method="post" class="definewidth m20">
              <table class="table table-bordered table-hover definewidth m10">
                <tr>
                  <td width="10%" class="tableleft">上级菜单：</td>
                  <td>
                    <input id="parentid" type="hidden" value="{$listrows[parentid]}" name="data[parentid]">
                    <span id="parentname">{$listrows[fmenu]}</span>
                    <span id="menuspan"> </span>
                    <a href="###" style="color: #077AC7;text-decoration: none;" onclick="javascript:menureset()">重选</a>

                  </td>
                </tr>
                <tr>
                  <td class="tableleft">菜单名：</td>
                  <td>
                    <input type="text" name="data[menuname]" id="menuname" value="{$listrows[menuname]}" />
                  </td>
                </tr>
                <tr>
                  <td class="tableleft">链接地址：</td>
                  <td>
                    <input type="text" name="data[url]" id="url" value="{$listrows[url]}" />
                  </td>
                </tr>

                <tr>
                  <td colspan="3">
                    <input type="hidden" name="id" value="{$listrows[menuid]}">
                    <input type="submit" class="btn btn_primary" id="sub" name="sub" value="修改" />
                    <input type="reset" class="btn btn-success" value="重置" />
                  </td>
                </tr>
              </table>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</block>
<block name="myscript">
  <script type="text/javascript" src="__PUBLIC__/web/js/column.js"></script>
  <script src="__PUBLIC__/web/js/common.js"></script>
</block>